* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', Arial, sans-serif;
}


body {
    background-color: #222;
    color: #fff;
    direction: rtl;
}

/* ===== الهيدر ===== */
.header {
    padding: 20px 15px;
}

/* حاوية اللوجو + الاسم */
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 35px;   /* كان 20 – خليناه أبعد شوي */
}


.logo {
    width: 170px;       /* صغرناه شوي */
    height: auto;
    filter: drop-shadow(0 6px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(255,140,0,0.4));
}
@media (max-width: 768px) {
    .logo {
        width: 120px;
    }
}


/* اسم المطعم */
.header h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(to left, #ff8c00, #ffaa33, #ff8c00);
}



@media (max-width: 768px) {

    .header-content {
        gap: 12px;   /* مسافة خفيفة بين اللوجو والاسم */
    }


    .header h1 {
        font-size: 20px;   /* حجم مرتب */
        font-weight: 700;
        letter-spacing: 1.5px;
        line-height: 2;
    }

    .header h1::after {
        width: 100%;   /* الخط بعرض الاسم */
        height: 2px;   /* أنحف شوي */
        margin-top: 5px;
    }

}




.top-bar {
    background-color: #ff8c00;
    display: flex;
    justify-content: space-between; /* أفضل من space-around */
    align-items: center;
    padding: 10px 20px;
}

.top-bar a {
    color: #000;
    font-size: 18px; /* صغرناه */
    text-decoration: none;
    font-weight: 600;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar .phone {
    font-size: 18px;
}

/* ===== نسخة الجوال ===== */
@media (max-width: 768px) {

    .top-bar {
        padding: 8px 12px;
    }

    .top-bar a {
        font-size: 14px;  /* حجم مناسب للجوال */
    }

    .top-bar .phone {
        font-size: 14px;
    }

}

.logo-box {
    background-color: transparent; /* شلنا البرتقالي */
    padding: 0;                   /* شلنا الفراغ */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== صفحة آراء الزبائن ===== */
.review-page {
    min-height: 100vh;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.review-page h1 {
    margin-bottom: 10px;
}

.review-page p {
    color: #ccc;
    margin-bottom: 25px;
}

/* النجوم */
.stars {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
    margin-bottom: 25px;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 40px;
    color: #444;
    cursor: pointer;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #ff8c00;
}

/* مربع الكتابة */
textarea {
    width: 100%;
    max-width: 400px;
    height: 120px;
    background-color: #222;
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
}

/* زر الإرسال */
button {
    background-color: #ff8c00;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}
/* ===== قسم المنيو ===== */
.menu-section {
    padding: 30px 20px;
    width: 100%;

}




/* عنوان القسم */
.section-title {
    display: inline-block;          /* مهم ليصير الإطار على قدّ الكلمة */
    padding: 8px 18px;
    margin-bottom: 25px;

    border: 2px solid #ff8c00;      /* الإطار */
    border-radius: 25px;            /* تدوير */
    color: #fff9f9;

    font-size: 30px;
    font-weight: bold;
}




/* شبكة الأكلات */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
    direction: rtl;
}


@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}






.menu-card {
    width: calc((100% - 8 * 20px) / 9);
}


.image-box {
    width: 180px;
    border: 2px solid #ff8c00;
    border-radius: 14px;
    overflow: hidden;
    background-color: #111;
      
}

.image-box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.item-details {
    padding: 8px;
}

.item-name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    direction: rtl;          /* 🔥 نثبّت الاتجاه */
    text-align: right;

    padding: 4px 0;
    border-top: 1px dashed #333;
}


.fade-slider {
    width: 90%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.fade-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.fade-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: bold;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 22px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
    transition: 0.3s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/*لزر العربي والانجليزي*/
.lang-btn {
    background: #000;
    color: #ff8c00;
    border: none;
    padding: 6px 14px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
}
.call-btn {
    position: fixed;
    bottom: 20px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 30px;
    background: #ff8800;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.call-btn:hover {
    background: #ffaa33;
}


#topBtn {
    position: fixed;
    bottom: 20px;
    right: 15px;

    padding: 10px 14px;
    border-radius: 25px;

    border: 1.5px solid #ff8800;
    background: rgba(0,0,0,0.6);
    color: #ff8800;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: 0.3s;
    z-index: 1000;
}

#topBtn:hover {
    background: #ff8800;
    color: #000;
}





/* ===== شريط الفلترة ===== */
/* =========================
   ====== FILTER BAR ======
   ========================= */

.filters {
    display: flex;
    gap: 10px;
    padding: 8px 15px;        /* مسافة داخلية خفيفة */
    margin: 5px 0 15px 0;     /* مسافة بسيطة فوق وتحت */
    overflow-x: auto;
    scrollbar-width: none;    /* اخفاء السكرول فايرفوكس */
}

.filters::-webkit-scrollbar {
    display: none;            /* اخفاء السكرول كروم */
}


/* =========================
   ====== FILTER BUTTON ====
   ========================= */

.filter-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #ff8800;
    background: transparent;
    color: #ff8800;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}


/* Hover */
.filter-btn:hover {
    background: #ff8800;
    color: #000;
}


/* Active */
.filter-btn.active {
    background: #ff8800;
    color: #000;
}


/* زر "الكل" دايمًا برتقالي */
.filter-btn[data-filter="all"] {
    background: #ff8800;
    color: #000;
}


/* Responsive أصغر للجوال */
@media (max-width: 768px) {
    .filter-btn {
        padding: 6px 14px;
        font-size: 14px;
    }
}
.filters-wrapper {
    position: relative;
}

/* السهم */
.filters-wrapper::after {
    content: "›";
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 22px;
    color: rgba(255,255,255,0.8);
    pointer-events: none;
    animation: arrowMove 1.2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

/* حركة خفيفة بدون تخبيص layout */
@keyframes arrowMove {
    0%   { margin-left: 0; }
    50%  { margin-left: -5px; }
    100% { margin-left: 0; }
}

/* إخفاء */
.filters-wrapper.hide-arrow::after {
    opacity: 0;
    animation: none;
}


